<?php
use yii\helpers\Html;
use yii\widgets\LinkPager;
?>
<h1>Activity</h1>
<ul>
<?php foreach ($cf_picture as $a): ?>
    <li>
        <?= Html::encode("{$a->url} {$a->image}") ?>:
    </li>
<?php endforeach; ?>
</ul>